package com.semidata.trp.business.model;

import java.sql.Timestamp;
import java.util.Date;

public class TrafficModel {

    private int id;
    private boolean deleted;
    private int positionId;
    private Date start;
    private Date end;
    private boolean active;
    private int bidType;
    private double bidPrice;
    private Timestamp lastUpdate;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public boolean isDeleted() {
        return deleted;
    }

    public void setDeleted(boolean deleted) {
        this.deleted = deleted;
    }

    public int getPositionId() {
        return positionId;
    }

    public void setPositionId(int positionId) {
        this.positionId = positionId;
    }

    public Date getStart() {
        return start;
    }

    public void setStart(Date start) {
        this.start = start;
    }

    public Date getEnd() {
        return end;
    }

    public void setEnd(Date end) {
        this.end = end;
    }

    public boolean isActive() {
        return active;
    }

    public void setActive(boolean active) {
        this.active = active;
    }

    public int getBidType() {
        return bidType;
    }

    public void setBidType(int bidType) {
        this.bidType = bidType;
    }

    public double getBidPrice() {
        return bidPrice;
    }

    public void setBidPrice(double bidPrice) {
        this.bidPrice = bidPrice;
    }

    public Timestamp getLastUpdate() {
        return lastUpdate;
    }

    public void setLastUpdate(Timestamp lastUpdate) {
        this.lastUpdate = lastUpdate;
    }

    @Override
    public String toString() {
        return "TrafficModel [id=" + id + ", deleted=" + deleted + ", positionId=" + positionId + ", start=" + start + ", end=" + end + ", active=" + active + ", bidType=" + bidType + ", bidPrice="
                + bidPrice + ", lastUpdate=" + lastUpdate + "]";
    }

}
